package com.atguigu.hellomp.service.impl;

import com.atguigu.hellomp.entity.User;
import com.atguigu.hellomp.mapper.UserMapper;
import com.atguigu.hellomp.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper,User> implements UserService  {

    @Override
    public List<User> getMyUsers() {
        List<User> users = baseMapper.selectMyUsers();
        return users;
    }
}
